﻿using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

[assembly: log4net.Config.XmlConfigurator(ConfigFile = "log4net.config", Watch = true)]
namespace Jn698._45GWTool.Utils
{
    internal class LogHelper
    {
        public static void WriteInfo(Type type, string message)
         {
             ILog log = log4net.LogManager.GetLogger(type);
             if (log.IsInfoEnabled)
             {
                 log.Info(message);
             }
             log = null;
         }
    }
}
